<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:directive.page import="com.anhry.app.safety.util.Util"/>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>头部</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath+Util.SKIN%>/css/style.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=basePath%>/js/date.js"></script>
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.1.min.js"></script>
	
  </head>
  
  <body>
    <div id="header">
	  <div class="top_table">
	    <div class="top_left">
	      <div class="logo">
	        <img src="<%=basePath+Util.SKIN%>/images/logo.png"/>
	      </div>
	      <div class="logo_title">
	        <div class="title_flash">
	          <img src="<%=basePath+Util.SKIN%>/images/title_flash.png"/>
	        </div>
	      </div>
	      <div class="user_table">
	        <div style="float:left; width:350px; vertical-align:middle; line-height:20px;">
	          <span id="divT"></span>&nbsp;&nbsp;<img src="<%=basePath+Util.SKIN%>/images/user_update.gif"  style="vertical-align:middle;padding-right:3px;"/>
	          <a href="<%=basePath%>/admin/sys_userPwd.action" target="rightFrame">修改密码</a>&nbsp;&nbsp;<img src="<%=basePath+Util.SKIN%>/images/exit.gif"  style="vertical-align:middle;padding-right:3px;"/>
	          <a href="<%=basePath%>/logout.jsp" target="_parent" onclick="return confirm('您确定退出系统吗？');">退出系统</a>
	        </div>
	      </div>
	      <div class="right_flash">
	        <object codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=435 height=104>
	          <param NAME="movie" value="<%=basePath+Util.SKIN%>/images/header_right.swf">
	          <param name="wmode" value="transparent">
	          <embed src="<%=basePath+Util.SKIN%>/images/header_right.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="435" height="104" wmode="transparent" > </embed>
	        </object>
	      </div>
	    </div>
	  </div>
	</div>
	<div class="menu">
	  <table  width="100%" border="0" cellpadding="0" cellspacing="0" class="menu_table">
	    <tr>
	      <td width="20"></td>
	      <td id="list"><a href="<%=basePath%>/admin/index_left.action" target="leftFrame">首 页</a></td>
	      <s:if test="%{mainFunList.size>0}">
	      	<s:iterator id="mainFun" value="mainFunList" status="x">
	      		<td width="2" id="list" style="text-align:center">|</td>
	      		<td id="list"><a href="<%=basePath%>/admin/index_left.action?funId=${mainFun.id}" target="leftFrame">${mainFun.funName }</a></td>
	      	</s:iterator>
	      </s:if>
	      <td width="20"></td>
	    </tr>
	  </table>
	</div>
	<table width="100%" border="0" cellpadding="0" cellspacing="0"  >
	  <tr>
	    <td width="5">&nbsp;</td>
	    <td width="18"><img src="<%=basePath+Util.SKIN%>/images/title_left.gif" /></td>
	    <td  class="title_bg"><table width="100%" border="0" cellpadding="0" cellspacing="0">
	        <tr>
	          <td >
	          <div class="title_icon">
	              <img src="<%=basePath+Util.SKIN%>/images/admin.gif"/> 欢迎您&nbsp;&nbsp;<span><s:property value="#session.adminuser.userName"/></span>&nbsp;&nbsp;&nbsp;&nbsp;
	              所属单位：<span><s:property value="#session.adminuser.tbUserUnit.deptName"/></span>&nbsp;&nbsp;&nbsp;&nbsp;
	              所属部门：<span><s:property value="#session.adminuser.tbUserDept.deptName"/></span> 
	              <!-- 
	              <img src="<%=basePath+Util.SKIN%>/images/email.gif"/>新邮件：<a href="#">0</a>&nbsp;&nbsp;
	              
	              <img src="<%=basePath+Util.SKIN%>/images/clock.gif"/>新提醒：<a href="#">0</a>
	              -->
	            </div>
	          </td>
	          <td width="115"><div class="title_icon">
	              <img src="<%=basePath+Util.SKIN%>/images/notice.gif"/>
	            </div></td>
	          <td width="45%" ><div class="news_con">
	              
	            </div></td>
	        </tr>
	      </table></td>
	    <td width="12"><img src="<%=basePath+Util.SKIN%>/images/title_right.gif" /></td>
	    <td width="5">&nbsp;</td>
	  </tr>
	</table>
  </body>
</html>
